from django.db import models

from utils.basemodels import BaseModel


# Create your models here.
class Uuser(BaseModel):
    username=models.CharField(max_length=100,verbose_name='用户名',default='')
    password=models.CharField(max_length=100,verbose_name='密码')
    email=models.CharField(max_length=100,verbose_name='邮箱',default='')
    phone=models.CharField(max_length=100,verbose_name='手机号',default='')
    level=models.IntegerField(default=0,verbose_name='级别')
    score=models.IntegerField(default=0,verbose_name='积分')
    class Meta:
        db_table='Uuser'